﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WebServer.Models
{
    public class Purchase
    {
        /// <summary>
        /// 编号
        /// </summary>
        public int ID
        {
            get;
            set;
        }
        /// <summary>
        /// 分类
        /// </summary>
        public string CateName
        {
            get;
            set;
        }
        /// <summary>
        /// 申购时间
        /// </summary>
        public DateTime EffectTime
        {
            get;
            set;
        }
        /// <summary>
        /// 申购结束时间
        /// </summary>
        public DateTime EndffectTime
        { get; set; }
         /// <summary>
        /// 交易所ID
        /// </summary>
        public int CenterID
        {
            get;
            set;
        }
         /// <summary>
        /// 交易所名称
        /// </summary>
        public string CenterName
        {
            get;
            set;
        }
         /// <summary>
        /// 藏品代码
        /// </summary>
        public string Code
        {
            get;
            set;
        }
         /// <summary>
        /// 藏品名
        /// </summary>
        public string Fullname
        {
            get;
            set;
        }
         /// <summary>
        /// 上市价
        /// </summary>
        public decimal OnlinePrice
        {
            get;
            set;
        }
        /// <summary>
        /// 挂牌总量
        /// </summary>
        public int UpAmount
        {
            get;
            set;
        }
        /// <summary>
        /// 限售总量
        /// </summary>
        public int BuyAmount
        {
            get;
            set;
        }
        /// <summary>
        /// 申购数量
        /// </summary>
        public int Amount
        {
            get;
            set;
        }
         /// <summary>
        /// 单用户最大量
        /// </summary>
        public string MaxAmount
        {
            get;
            set;
        }
         /// <summary>
        /// 中签日期
        /// </summary>
        public DateTime CodesTime
        {
            get;
            set;
        }
         /// <summary>
        /// 上线时间
        /// </summary>
        public DateTime OnlineTime
        {
            get;
            set;
        }
         /// <summary>
        /// 中签比
        /// </summary>
        public string Ratio
        {
            get;
            set;
        }
        /// <summary>
        /// 中签比值
        /// </summary>
        public string RatioVal
        {
            get;
            set;
        }
        /// <summary>
        /// 申购方式
        /// </summary>
        public string BuyType
        {
            get;
            set;
        }
         /// <summary>
        /// 公告链接
        /// </summary>
        public string Link
        {
            get;
            set;
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            get;
            set;
        }
         /// <summary>
        /// 编号
        /// </summary>
        public DateTime CreateTime
        {
            get;
            set;
        }
        /// <summary>
        /// 总申购资金
        /// </summary>
        public decimal TotalPrice
        {
            get;
            set;
        }

        /// <summary>
        /// 总市值
        /// 
        /// </summary>
        public decimal TotalValue
        { get; set; }
        /// <summary>
        /// 总申购资金
        /// </summary>
        public decimal PurchaseTotal
        {
            get;
            set;
        }
        /// <summary>
        /// 总申购市值
        /// </summary>
        public decimal DqPrice
        {
            get;
            set;
        }
        /// <summary>
        /// wu
        /// </summary>
        public decimal Dqposition
        {
            get;
            set;
        }
    }
}
